<div class="content-box"><!-- Start Content Box -->				
	<div class="content-box-header">					
		<h3>User Roles</h3>					
		<ul class="content-box-tabs">
			<li><a href="#tab1" class="default-tab">Edit User</a></li> <!-- href must be unique and match the id of target div -->			
		</ul>					
		<div class="clear"></div>					
	</div> <!-- End .content-box-header -->				
	<div class="content-box-content">		
		<div class="tab-content default-tab" id="tab1">	
			<h3>Edit Role <i>"<?php echo HSql::getFieldById('portal_roles','role_name',$_GET['id']);?>"</i></h3>			
			<form action="<?php echo HCommon::PHPSELF();?>" method="post" onsubmit="return validateForm()">						
				<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->							
					<p>
						<label>Email</label>
							<input class="text-input small-input" type="text" id="tbxRoleName" name="tbxRoleName" onkeypress="required_field('tbxRoleName')" onkeydown="required_field('tbxRoleName')" value="<?php echo $this->data[0]['role_name'];?>"/> 
							<span class="input-notification success png_bg" id="tbxRoleNameTrue"></span> 
							<span class="input-notification error png_bg" id="tbxRoleNameFalse"></span>
							<!-- Classes for input-notification: success, error, information, attention -->
							<small>Put the role here</small>
					</p>					
					
					<p>
						<input class="button" type="submit" value="Submit" />
					</p>
					
				</fieldset>
				
				<div class="clear"></div><!-- End .clear -->
				<input type="hidden" name="flag" value="-1" />
			</form>
		</div>		
	</div>
</div>

<script>
function validateForm() {
	if (!required_field('tbxRoleName')) return false;
	
	return true;
}
</script>